import java.util.Scanner;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User: Administrator
 * Data: 2023 - 09 - 25
 * Time: 20:22
 */
//牛客 计算糖果
public class Solution4 {
    /*//我的方法
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextInt()) { // 注意 while 处理多个 case
            double a = in.nextDouble();
            double b = in.nextDouble();
            double c = in.nextDouble();
            double d = in.nextDouble();
            double A = (a + c) / 2;
            double B = (a + c) / 2 - a;
            double C = (a + c) / 2 - a - b;
            if(B + C == d) {
                int A1 = (int)A;
                int B1 = (int)B;
                int C1 = (int)C;
                System.out.println(A1 + " " + B1 + " " + C1);
                return;
            }
            System.out.println("No");
        }
    }*/




    //法二
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextInt()) { // 注意 while 处理多个 case
            int a = in.nextInt();
            int b = in.nextInt();
            int c = in.nextInt();
            int d = in.nextInt();
            int A = (a + c) / 2;
            int B1 = (c - a) / 2;
            int B2 = (b + d) / 2;
            int C = (d - b) / 2;
            if(B1 != B2) {
                System.out.println("No");
            }else {
                System.out.println(A + " " + B1 + " " + C);
            }
        }
    }
}
